home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / The Golden Parrot / card_11982.txt < prev    next >
Text File  |  1990-08-20  |  1KB  |  46 lines

  1. -- card: 11982 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3426
  5. -- name: A second sun
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global score
  9.   subtract 5 from score
  10.   if score <= 0 then
  11.     visual effect scroll up
  12.     go card "end"
  13.   end if
  14.   put score into field "scorebox"
  15. end openCard
  16. on mouseUp
  17.  
  18.   get field "textarea" of card "Mountain Trail"
  19.   put it into holder
  20.   put the number of lines in field "textarea" of card "Mountain Trail" into counter
  21.   repeat until counter = 0
  22.     get line counter of holder
  23.     if it contains "A flash of gold" then
  24.       delete line counter of field "textarea" of card "Mountain Trail"
  25.       put 1 into counter
  26.     end if
  27.     subtract 1 from counter
  28.   end repeat
  29.  
  30.   visual effect dissolve
  31.   go to card "River Trail"
  32.  
  33. end mouseUp
  34.  
  35.  
  36. -- part contents for background part 1
  37. ----- text -----
  38. A second sun
  39.  
  40. -- part contents for background part 2
  41. ----- text -----
  42. Looking upwards, you spy a prized golden parrot perched on a rocky crag of the Mountains of the Moon. It is too far away to capture. The light of the first summer day is fading in the west, but the bird's golden feathers catch the last fading light, shrouding the creature in a bright gold glow.
  43.  
  44. -- part contents for background part 5
  45. ----- text -----
  46. 180